	package br.com.players.model;

import java.io.Serializable;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.Table;

@Entity
@Table(name = "partida")
public class Partida implements PlayerDefaultEntity {

	private static final long serialVersionUID = 1L;
	
	@Column(name = "local")
	private String local;
	
	@Column(name = "data")
	private String dataPlay;
	
	@Column(name = "timeRival")
	private String timeRival;
	
	@Column(name = "hora")
	private String hora;
	
	@Id
	@Column(name = "id")
	@GeneratedValue(strategy = GenerationType.AUTO)
	private long id;
	
	public String getLocal() {
		return local;
	}

	public void setLocal(String local) {
		this.local = local;
	}

	public String getTimeRival() {
		return timeRival;
	}

	public void setTimeRival(String timeRival) {
		this.timeRival = timeRival;
	}

	public Serializable getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getHora() {
		return hora;
	}

	public void setHora(String hora) {
		this.hora = hora;
	}

	public String getDataPlay() {
		return dataPlay;
	}

	public void setDataPlay(String dataPlay) {
		this.dataPlay = dataPlay;
	}
}